Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRadialGradientFill Class / NRadialGradientFill Constructor / NRadialGradientFill Constructor(Double,Double,NColor[])
A value between 0.0 and 1.0 specifying the horizontal position of the gradient center.
A value between 0.0 and 1.0 specifying the vertical position of the gradient center.
An array of colors to be used for the gradient stops.


In This Topic
    NRadialGradientFill Constructor(Double,Double,NColor[])
    In This Topic
    Creates a radial gradient fill with equally spaced gradient stops with the specified colors.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal focusFactorX As System.Double, _
       ByVal focusFactorY As System.Double, _
       ByVal ParamArray colors() As NColor _
    )
    'Usage
     
    
    Dim focusFactorX As System.Double
    Dim focusFactorY As System.Double
    Dim colors() As NColor
     
    Dim instance As New NRadialGradientFill(focusFactorX, focusFactorY, colors)
    public NRadialGradientFill( 
       System.double focusFactorX,
       System.double focusFactorY,
       params NColor[] colors
    )

    Parameters

    focusFactorX
    A value between 0.0 and 1.0 specifying the horizontal position of the gradient center.
    focusFactorY
    A value between 0.0 and 1.0 specifying the vertical position of the gradient center.
    colors
    An array of colors to be used for the gradient stops.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also